import request from '@/utils/request'

/**
 * 编辑
 * @param {*} data
 */
export function update(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysPageInfo/update',
    method: 'post',
    data
  })
}

/**
 * 查询
 * @param {*} data
 */
export function query(data) {
  return request({
    baseURL: '/API-ENTERPRISE-BACKEND/',
    url: '/backend/sysPageInfo/query',
    method: 'post',
    data
  })
}
